package org.minbox.framework.microservice.authentication;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 认证中心启动入口
 *
 * @author 恒宇少年
 */
@SpringBootApplication
@EnableDiscoveryClient
public class AuthenticationCenterApplication {
    /**
     * logger instance
     */
    static Logger logger = LoggerFactory.getLogger(AuthenticationCenterApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(AuthenticationCenterApplication.class, args);
        logger.info("认证中心服务启动成功.");
    }
}
